package cn.learn.testmongo.po;
import lombok.Builder;
import lombok.Data;
import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;

@Builder
@Data
@Document(collection = "User")
public class User {
    @Id
    private Integer id;

    private String name;


    private String password;


}
